<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog B0401_RollBack-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
  <div class="kmi-header-row">
    <div class="header-title" ng-bind="dialog._title | translate"></div>
    <!--More Menu-->

    <!--Close button-->
    <div class="kmi-side-btn right" ng-click="dialog.hide();">
      <img src="image/icons/clear.png" />
      <div class="kmi-can-click"></div>
    </div>
  </div>
  <div class="kmi-layout-main-content" style="flex: 1">
    <!--Page-->
    <div class="kmi-layout-page">
      <div class="mdd-layout__with-toolbar mdd-layout c-mdd-layout" layout-name="B0401_RollBack" page-name="" page-type="Dialog" with-toolbar="Y" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(1, auto 1fr)">
        <div class="mdd-list c-mdd-list" null="" ng-show="dialog._event['plot_info_detail'].isShown != 'N'" style="height:{{dialog._event['B0401_RollBack'].GetfillHeight()}};grid-column-start:span 2;" list-name="B0401_RollBack_plot_info_detail" list-bind="dialog.plot_info_detail" list-alias="dialog.plot_info_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
          <div class="kmi-list column-selector" kmi-scrollbar="1240px" column-selector-id="B0401_RollBack_plot_info_detail" style="flex: 1">
            <div class="kmi-list__header">
              <div item-name="checked" class="kmi-list__column require" style="flex: 0 0 40px"></div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.waitno'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[1].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['waitno']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[1].isFilter = false;dialog._objplot_info_detail.filterColumns['waitno'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[1].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[1].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.waitno' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 1">{{!dialog._objplot_info_detail.header[1].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'waitno', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.lotno'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[2].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['lotno']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[2].isFilter = false;dialog._objplot_info_detail.filterColumns['lotno'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[2].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[2].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.lotno' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 2">{{!dialog._objplot_info_detail.header[2].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(2, 'lotno', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.opno'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[3].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['opno']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[3].isFilter = false;dialog._objplot_info_detail.filterColumns['opno'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[3].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[3].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.opno' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 3">{{!dialog._objplot_info_detail.header[3].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(3, 'opno', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.opname'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[4].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['opname']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[4].isFilter = false;dialog._objplot_info_detail.filterColumns['opname'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[4].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[4].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.opname' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 4">{{!dialog._objplot_info_detail.header[4].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(4, 'opname', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.createdate'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[5].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['createdate']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[5].isFilter = false;dialog._objplot_info_detail.filterColumns['createdate'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[5].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[5].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.createdate' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 5">{{!dialog._objplot_info_detail.header[5].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(5, 'createdate', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.releasedate'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[6].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['releasedate']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[6].isFilter = false;dialog._objplot_info_detail.filterColumns['releasedate'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[6].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[6].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.releasedate' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 6">{{!dialog._objplot_info_detail.header[6].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(6, 'releasedate', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.createqty'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[7].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['createqty']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[7].isFilter = false;dialog._objplot_info_detail.filterColumns['createqty'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[7].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[7].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.createqty' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 7">{{!dialog._objplot_info_detail.header[7].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(7, 'createqty', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.releaseqty'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[8].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['releaseqty']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[8].isFilter = false;dialog._objplot_info_detail.filterColumns['releaseqty'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[8].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[8].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.releaseqty' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 8">{{!dialog._objplot_info_detail.header[8].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(8, 'releaseqty', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.equipment'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[9].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['equipment']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[9].isFilter = false;dialog._objplot_info_detail.filterColumns['equipment'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[9].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[9].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.equipment' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 9">{{!dialog._objplot_info_detail.header[9].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(9, 'equipment', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.plot_info_detail.description'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objplot_info_detail.header[10].isFilter">
                  <input ng-model="dialog._objplot_info_detail.filterColumns['description']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objplot_info_detail.header[10].isFilter = false;dialog._objplot_info_detail.filterColumns['description'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objplot_info_detail.header[10].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objplot_info_detail.header[10].isFilter = true">search</i>
                  <label ng-bind="'B0401_RollBack_plot_info_detail.columns.description' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objplot_info_detail.queryOrder == 10">{{!dialog._objplot_info_detail.header[10].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(10, 'description', 'dialog._objplot_info_detail');"></div>
                </div>
              </div>
            </div>
            <div class="kmi-list__row-content">
              <div class="kmi-list__row" id="B0401_RollBack_plot_info_detail_result_list" ng-repeat="item in dialog._event['dialog.plot_info_detail'].getPages(dialog.plot_info_detail, dialog._objplot_info_detail.PageConfig, dialog._objplot_info_detail.filterColumns, dialog._objplot_info_detail.header[dialog._objplot_info_detail.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.plot_info_detail'].checkSelect(item, {index:$index, event:$event})}">
                <div item-name="checked" class="kmi-list__column" style="flex: 0 0 40px; z-index: 1">
                  <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="dialog.itemCheck($index,item);">
                    <img ng-show="item.checked" src="image/icons/check1.png" />
                    <img ng-show="!item.checked" src="image/icons/check0.png" />
                  </button>
                </div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.waitno'].isShown != 'N'">{{item.waitno}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.lotno'].isShown != 'N'">{{item.lotno}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.opno'].isShown != 'N'">{{item.opno}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.opname'].isShown != 'N'">{{item.opname}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.createdate'].isShown != 'N'">{{item.createdate}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.releasedate'].isShown != 'N'">{{item.releasedate}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.createqty'].isShown != 'N'">{{item.createqty}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.releaseqty'].isShown != 'N'">{{item.releaseqty}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.equipment'].isShown != 'N'">{{item.equipment}}</div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.plot_info_detail.description'].isShown != 'N'">{{item.description}}</div>
                <div class="kmi-can-click" ng-click="dialog._event['dialog.plot_info_detail'].rowClick(item, {index:$index, event:$event});"></div>
              </div>
            </div>
          </div>
          <div class="page-content">
            <div class="page-icon">
              <img src="image/icons/dropleft.png" />
              <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objplot_info_detail.PageConfig);"></div>
            </div>
            <label ng-bind="dialog.pageInfo(dialog._objplot_info_detail.PageConfig);"></label>
            <div class="page-icon">
              <img src="image/icons/dropright.png" />
              <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objplot_info_detail.PageConfig);"></div>
            </div>
          </div>
        </div>
      </div>
      <div class="mdd-button-tool">
        <div class="tool-bar"></div>
        <div class="tool-bar" style="justify-content: flex-end">
          <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['Execute'].isDisabled == 'Y'" ng-hide="dialog._fn['Execute'].isShown == 'N'" style="width: 100px">
            <label ng-bind="'common.btn.confirm' | translate"></label>
            <div class="kmi-can-click" ng-click="dialog._fn['Execute'].click('Execute');"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
